<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>编辑评论</title>
<link href="html/css/css.css" rel="stylesheet" type="text/css" />
<script Language="JavaScript" src="html/js/functions.js"></script>
<script Language="JavaScript" src="html/js/ajax.js"></script>
</head>

<body>

<if $Msg>
<div id="msg"><img src="html/images/information.gif" width="16" height="16" align="absmiddle" /> [$Msg]</div>
</if>

<form action="" method="post" enctype="multipart/form-data" name="form" id="form" style="margin:0px">
<input name="ID" type="hidden" value="[$CommentInfo.Id]"  />
<div class="form_box">
	<div class="header">
    <img src="html/images/comment.gif" width="16" height="16" align="absmiddle" />&nbsp;编辑评论信息</div>
  <div class="box">
    	<div class="text">
    	评论人:
    	</div>
        <div class="input" style="padding-left:10px;">
    		<input name="UserName" type="text" id="UserName" value="[@htmlspecialchars($CommentInfo.UserName)]" />
       	</div>
        <div style="clear:both"></div>
    </div>
      <div class="box">
    	<div class="text">
    	提交时间:
    	</div>
        <div class="input" style="padding-left:10px;">
    		<input name="PublishDate" type="text" id="PublishDate" value="[@htmlspecialchars($CommentInfo.PublishDate)]" />
       </div>
        <div style="clear:both"></div>
    </div>
     <div class="box">
    	<div class="text">
    	提交IP:
    	</div>
        <div class="input" style="padding-left:10px;">
    	[$CommentInfo.Ip] ([$CommentInfo.address])
       </div>
        <div style="clear:both"></div>
    </div>
    
	 <div class="box">
    	<div class="text">
    	审核状态:
    	</div>
        <div class="input" style="padding-left:10px;">
            <select name="State">
 			<option value="1">已审核</option>
            <option value="-1">未审核</option>
            </select>
            <script language="javascript">SelectOption('State',[$CommentInfo.State],1);</script>
       	</div>
        <div style="clear:both"></div>
    </div>
      <div class="box">
    	<div class="text">
    	内容:
    	</div>
        <div class="input" style="padding-left:10px;">
    		   <input type="hidden" id="Content" name="Content" style="display:none" value="[@htmlspecialchars($CommentInfo.Content)]"/>
               <input type="hidden" id="Content___Config" value="" style="display:none" />                 
              <iframe id="Content___Frame" src="editor/fck/editor/fckeditor.html?InstanceName=Content&amp;Toolbar=Default" width="90%" height="400" frameborder="no" scrolling="no"></iframe>
       	</div>
        <div style="clear:both"></div>
    </div>
    
    </div>
</div>
<div class="form_box_bottom">
<input type="image" src="html/images/submit.gif" align="absmiddle" border="0" title="保存" id="submit" /></a>
<a href="javascript:history.go(-1);"><img src="html/images/msg_cancel.gif" align="absmiddle" border="0" title="返回" /></a>
</div>
</form>
</body>
</html>
